Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix support for new architecture (interop layer) #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hsjoberg
Copy link

@hsjoberg hsjoberg commented Oct 8, 2024

Hi, there's a module function getOnionUrl() being declared that doesn't actually exist.
This is causing a crash on new arch + bridgeless for iOS, as the new arch interop layer tries to expose this function.

This pull request removes that.

To be clear: anyone trying to use this lib in new arch needs this patch.

As this library is kinda dead, you can use my fork in your package.json:

"react-native-tor": "github:hsjoberg/react-native-tor#938d80f798111ee790033d8f46dfdc92795c4766",

Causes crash on new arch + bridgeless, as it try to expose a
function that doesn't exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant